.class public final Lnbisdk/cw;
.super Lnbisdk/gb;


# instance fields
.field private eG:Lnbisdk/ga;

.field private eH:Lnbisdk/so;

.field private eI:Lnbisdk/lw;

.field private eJ:Lnbisdk/ob;


# direct methods
.method constructor <init>(Lnbisdk/lw;Lnbisdk/ob;Lnbisdk/ga;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/gb;-><init>()V

    iput-object p3, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iput-object p1, p0, Lnbisdk/cw;->eI:Lnbisdk/lw;

    iput-object p2, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    return-void
.end method


# virtual methods
.method public final a(Lnbisdk/dz;)V
    .locals 2

    invoke-super {p0, p1}, Lnbisdk/gb;->a(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v1, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, v1}, Lnbisdk/ga;->onRequestCancelled(Lcom/navbuilder/nb/b;)V

    iget-object v0, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-virtual {v0}, Lnbisdk/ob;->clear()V

    return-void
.end method

.method public final a(Lnbisdk/dz;I)V
    .locals 2

    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;I)V

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v1, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, p2, v1}, Lnbisdk/ga;->onRequestProgress(ILcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V
    .locals 2

    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v1, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, p2, v1}, Lnbisdk/ga;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    iget-object v0, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-virtual {v0}, Lnbisdk/ob;->clear()V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lnbisdk/fk;)V
    .locals 3

    const-string v0, "location"

    invoke-static {p2, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v1, Lnbisdk/ca;

    invoke-direct {v1, v0}, Lnbisdk/ca;-><init>(Lnbisdk/fk;)V

    invoke-virtual {v1}, Lnbisdk/ca;->bR()Lnbisdk/so;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/cw;->eH:Lnbisdk/so;

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    new-instance v1, Lnbisdk/lr;

    iget-object v2, p0, Lnbisdk/cw;->eH:Lnbisdk/so;

    invoke-direct {v1, v2}, Lnbisdk/lr;-><init>(Lnbisdk/so;)V

    iget-object v2, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, v1, v2}, Lnbisdk/ga;->a(Lnbisdk/hu;Lnbisdk/kj;)V

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v1, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, v1}, Lnbisdk/ga;->onRequestComplete(Lcom/navbuilder/nb/b;)V

    :goto_0
    iget-object v0, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-virtual {v0}, Lnbisdk/ob;->clear()V

    return-void

    :cond_0
    new-instance v0, Lcom/navbuilder/nb/NBException;

    const/16 v1, 0x7d9

    invoke-direct {v0, v1}, Lcom/navbuilder/nb/NBException;-><init>(I)V

    invoke-super {p0, p1, v0}, Lnbisdk/gb;->a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V

    iget-object v1, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v2, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v1, v0, v2}, Lnbisdk/ga;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    goto :goto_0
.end method

.method public final a(Lnbisdk/ri;)V
    .locals 6

    const-string v0, "scale"

    iget-object v1, p0, Lnbisdk/cw;->eI:Lnbisdk/lw;

    invoke-virtual {v1}, Lnbisdk/lw;->getScale()F

    move-result v1

    invoke-static {p1, v0, v1}, Lnbisdk/ov;->a(Lnbisdk/ri;Ljava/lang/String;F)V

    new-instance v0, Lnbisdk/ri;

    const-string v1, "position"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    const-string v1, "variant"

    const-string v2, "point"

    invoke-static {v0, v1, v2}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lnbisdk/lc;

    iget-object v2, p0, Lnbisdk/cw;->eI:Lnbisdk/lw;

    invoke-virtual {v2}, Lnbisdk/lw;->getLatitude()D

    move-result-wide v2

    iget-object v4, p0, Lnbisdk/cw;->eI:Lnbisdk/lw;

    invoke-virtual {v4}, Lnbisdk/lw;->getLongitude()D

    move-result-wide v4

    invoke-direct {v1, v2, v3, v4, v5}, Lnbisdk/lc;-><init>(DD)V

    invoke-virtual {v1}, Lnbisdk/lc;->bb()Lnbisdk/ri;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    invoke-virtual {p1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    return-void
.end method

.method public final b(Lnbisdk/dz;)V
    .locals 2

    invoke-super {p0, p1}, Lnbisdk/gb;->b(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/cw;->eG:Lnbisdk/ga;

    iget-object v1, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-interface {v0, v1}, Lnbisdk/ga;->onRequestTimedOut(Lcom/navbuilder/nb/b;)V

    iget-object v0, p0, Lnbisdk/cw;->eJ:Lnbisdk/ob;

    invoke-virtual {v0}, Lnbisdk/ob;->clear()V

    return-void
.end method

.method protected final getType()Ljava/lang/String;
    .locals 1

    const-string v0, "reverse-geocode"

    return-object v0
.end method
